﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Class1
    {
        private int usenumber;
        private string usename;
        private string password;

      
        public int Usenumber
        {
            get { return this.usenumber; }
            set { this.usenumber = value; }
        }
        public string Usename
        {
            get { return this.usename; }
            set { this.usename = value; }
        }
        public string Password
        {
            get { return this.password; }
            set { this.password = value; }
        }
        public void usepoid()
        {
            Console.WriteLine("请输入用户的账号：");
            usenumber = int.Parse(Console.ReadLine());
            Console.WriteLine("请输入用户的用户名：");
           usename = Console.ReadLine();
            Console.WriteLine("请输入用户的密码：");
            password = Console.ReadLine();
            Console.WriteLine("用户的账号是:{0}、   用户名为:{1}     密码是:{2}.", this.usenumber, this.usename, this.password);
        }
    }
}
